package com.liu.design.behavior.chain.simple;

/**
 * @author LIU
 * @version 1.0
 * @date 2024/5/8 11:24
 * @description TODO
 */
public class _Test {
    public static void main(String[] args) {
        //简单模式
        Teacher zs = new Teacher("zs");
        Teacher ls = new Teacher("ls");
        Teacher ww = new Teacher("ww");
        zs.setNext(ls);
        ls.setNext(ww);
        zs.handleRequest();
    }
}
